<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>LibCDS: PrioQueue Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">LibCDS
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structPrioQueue.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">PrioQueue Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The implementation for priority queue.  
 <a href="structPrioQueue.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:af4a0860ba751cf844f0405452444d362"><td class="memItemLeft" align="right" valign="top"><a class="el" href="priority__queue_8h.html#a78f9a5e2d9886d3a3f0a1b5ce8abfc56">PrioQueueData</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPrioQueue.html#af4a0860ba751cf844f0405452444d362">pData</a></td></tr>
<tr class="memdesc:af4a0860ba751cf844f0405452444d362"><td class="mdescLeft">&#160;</td><td class="mdescRight">The container private information.  <a href="#af4a0860ba751cf844f0405452444d362">More...</a><br/></td></tr>
<tr class="separator:af4a0860ba751cf844f0405452444d362"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadf417c0c2e2fb8812fcfe1b2c5e97aa"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPrioQueue.html#aadf417c0c2e2fb8812fcfe1b2c5e97aa">push</a> )(struct _PrioQueue *, <a class="el" href="util_8h.html#a2583da5c1c14184068bda8cf681d5bed">Item</a>)</td></tr>
<tr class="memdesc:aadf417c0c2e2fb8812fcfe1b2c5e97aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Push an item onto the queue.  <a href="#aadf417c0c2e2fb8812fcfe1b2c5e97aa">More...</a><br/></td></tr>
<tr class="separator:aadf417c0c2e2fb8812fcfe1b2c5e97aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8ccd91da88a739f6dccfbbc3e19fc06"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPrioQueue.html#ab8ccd91da88a739f6dccfbbc3e19fc06">top</a> )(struct _PrioQueue *, <a class="el" href="util_8h.html#a2583da5c1c14184068bda8cf681d5bed">Item</a> *)</td></tr>
<tr class="memdesc:ab8ccd91da88a739f6dccfbbc3e19fc06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve item from top of the queue.  <a href="#ab8ccd91da88a739f6dccfbbc3e19fc06">More...</a><br/></td></tr>
<tr class="separator:ab8ccd91da88a739f6dccfbbc3e19fc06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2df40423b2ac28e917c59b0b489403d0"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPrioQueue.html#a2df40423b2ac28e917c59b0b489403d0">pop</a> )(struct _PrioQueue *, bool)</td></tr>
<tr class="memdesc:a2df40423b2ac28e917c59b0b489403d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete item from top of the queue.  <a href="#a2df40423b2ac28e917c59b0b489403d0">More...</a><br/></td></tr>
<tr class="separator:a2df40423b2ac28e917c59b0b489403d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0f3cf099bbe47dfe7b4084e8208cda0"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPrioQueue.html#aa0f3cf099bbe47dfe7b4084e8208cda0">size</a> )(struct _PrioQueue *)</td></tr>
<tr class="memdesc:aa0f3cf099bbe47dfe7b4084e8208cda0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of stored items.  <a href="#aa0f3cf099bbe47dfe7b4084e8208cda0">More...</a><br/></td></tr>
<tr class="separator:aa0f3cf099bbe47dfe7b4084e8208cda0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a197c56a6951a7edcf4f1c090d406c757"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPrioQueue.html#a197c56a6951a7edcf4f1c090d406c757">set_compare</a> )(struct _PrioQueue *, int32_t(*)(<a class="el" href="util_8h.html#a2583da5c1c14184068bda8cf681d5bed">Item</a>, <a class="el" href="util_8h.html#a2583da5c1c14184068bda8cf681d5bed">Item</a>))</td></tr>
<tr class="memdesc:a197c56a6951a7edcf4f1c090d406c757"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the user defined item comparison method.  <a href="#a197c56a6951a7edcf4f1c090d406c757">More...</a><br/></td></tr>
<tr class="separator:a197c56a6951a7edcf4f1c090d406c757"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae11ac881344c385cb3270b902bc4a352"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPrioQueue.html#ae11ac881344c385cb3270b902bc4a352">set_destroy</a> )(struct _PrioQueue *, void(*)(<a class="el" href="util_8h.html#a2583da5c1c14184068bda8cf681d5bed">Item</a>))</td></tr>
<tr class="memdesc:ae11ac881344c385cb3270b902bc4a352"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the user defined item clean method.  <a href="#ae11ac881344c385cb3270b902bc4a352">More...</a><br/></td></tr>
<tr class="separator:ae11ac881344c385cb3270b902bc4a352"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The implementation for priority queue. </p>

<p>Definition at line <a class="el" href="priority__queue_8h_source.html#l00014">14</a> of file <a class="el" href="priority__queue_8h_source.html">priority_queue.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="af4a0860ba751cf844f0405452444d362"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="priority__queue_8h.html#a78f9a5e2d9886d3a3f0a1b5ce8abfc56">PrioQueueData</a>* PrioQueue::pData</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The container private information. </p>

<p>Definition at line <a class="el" href="priority__queue_8h_source.html#l00016">16</a> of file <a class="el" href="priority__queue_8h_source.html">priority_queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="aadf417c0c2e2fb8812fcfe1b2c5e97aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* PrioQueue::push)(struct _PrioQueue *, <a class="el" href="util_8h.html#a2583da5c1c14184068bda8cf681d5bed">Item</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Push an item onto the queue. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="priority__queue_8h.html#a95be6b450d0e0c0044e88d91d4108908" title="Push an item onto the queue. ">PrioQueuePush</a> </dd></dl>

<p>Definition at line <a class="el" href="priority__queue_8h_source.html#l00020">20</a> of file <a class="el" href="priority__queue_8h_source.html">priority_queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab8ccd91da88a739f6dccfbbc3e19fc06"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* PrioQueue::top)(struct _PrioQueue *, <a class="el" href="util_8h.html#a2583da5c1c14184068bda8cf681d5bed">Item</a> *)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve item from top of the queue. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="priority__queue_8h.html#a8558179002f263f6a7a61e8a47256b8f" title="Retrieve item from top of the queue. ">PrioQueueTop</a> </dd></dl>

<p>Definition at line <a class="el" href="priority__queue_8h_source.html#l00024">24</a> of file <a class="el" href="priority__queue_8h_source.html">priority_queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2df40423b2ac28e917c59b0b489403d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* PrioQueue::pop)(struct _PrioQueue *, bool)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delete item from top of the queue. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="priority__queue_8h.html#a29782dee39df639126c6171a28dc1c94" title="Delete item from top of the queue. ">PrioQueuePop</a> </dd></dl>

<p>Definition at line <a class="el" href="priority__queue_8h_source.html#l00028">28</a> of file <a class="el" href="priority__queue_8h_source.html">priority_queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa0f3cf099bbe47dfe7b4084e8208cda0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* PrioQueue::size)(struct _PrioQueue *)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the number of stored items. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="priority__queue_8h.html#ab2faa514fb2c67c38a356aa54a042d35" title="Return the number of stored items. ">PrioQueueSize</a> </dd></dl>

<p>Definition at line <a class="el" href="priority__queue_8h_source.html#l00032">32</a> of file <a class="el" href="priority__queue_8h_source.html">priority_queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a197c56a6951a7edcf4f1c090d406c757"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* PrioQueue::set_compare)(struct _PrioQueue *, int32_t(*)(<a class="el" href="util_8h.html#a2583da5c1c14184068bda8cf681d5bed">Item</a>, <a class="el" href="util_8h.html#a2583da5c1c14184068bda8cf681d5bed">Item</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the user defined item comparison method. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="priority__queue_8h.html#adf006ee25f6de4e33c54af3e7f2d04d4" title="Set the user defined item comparison method. ">PrioQueueSetCompare</a> </dd></dl>

<p>Definition at line <a class="el" href="priority__queue_8h_source.html#l00036">36</a> of file <a class="el" href="priority__queue_8h_source.html">priority_queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae11ac881344c385cb3270b902bc4a352"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* PrioQueue::set_destroy)(struct _PrioQueue *, void(*)(<a class="el" href="util_8h.html#a2583da5c1c14184068bda8cf681d5bed">Item</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the user defined item clean method. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="priority__queue_8h.html#a856da03567dc5ee651602d14b72769b1" title="Set the user defined item clean method. ">PrioQueueSetDestroy</a> </dd></dl>

<p>Definition at line <a class="el" href="priority__queue_8h_source.html#l00040">40</a> of file <a class="el" href="priority__queue_8h_source.html">priority_queue.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structPrioQueue.html">PrioQueue</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
